package com.tedu.emp.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class EmployeeSaveParam {
    @ApiModelProperty(value = "用户id")
    private Integer id;
    @ApiModelProperty(value = "员工姓名")
    private String empName;
    @ApiModelProperty(value = "年龄")
    private Integer age;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "性别")
   private  String gender;
    @ApiModelProperty(value = "状态")
   private  String status;
    @ApiModelProperty(value = "职级")
   private  String level;

    @ApiModelProperty(value = "生日")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birth;
    @ApiModelProperty(value = "图片地址")
   private  String imgUrl;
    @ApiModelProperty(value = "身份证")
    private String num;
    @ApiModelProperty(value = "直属领导id")
    private Integer parentId;
}
